﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Asset.cs" company="Anton Frattaroli">
//   Copyright (c) Anton Frattaroli. All rights reserved.
// </copyright>
// <summary>
//   Defines the Asset class.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace Lidocaine.BusinessObjects
{
    using System;

    /// <summary>
    /// Defines the Asset class.
    /// </summary>
    public class Asset
    {
        /// <summary>
        /// Gets or sets the asset identifier.
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets the file's filesystem path.
        /// </summary>
        public string FilePath { get; set; }

        /// <summary>
        /// Gets or sets the file's URL path.
        /// </summary>
        public string VirtualPath { get; set; }

        /// <summary>
        /// Gets or sets the file's date and time it was created.
        /// </summary>
        public DateTime Created { get; set; }

        /// <summary>
        /// Gets or sets the file's filetype.
        /// </summary>
        public int FileTypeId { get; set; }

        /// <summary>
        /// Gets or sets the file's filetype.
        /// </summary>
        public virtual FileType FileType { get; set; }
    }
}
